#ifndef _RTOS_CONFIG_H_
#define _RTOS_CONFIG_H_ 	

/**
 * \file config.h
 * \author Clecio Varjao and Leanne Ross
 * \date October 2007
 * \brief Configuration file
 */

	#define MAX_TC			MAXPROCESS+1	//!< Max number of TASK_CONSTRUCTOR can be created (+1 for the idle task)
	#define MAX_TD			MAXPROCESS+1	//!< Max number of TASK_DESCRIPTOR can be created (+1 for the idle task)
	#define MAX_TE			MAXPROCESS+1	//!< Max number of TASK_EXECUTER can be created (+1 for the idle task)
	#define MAX_EVENTS			MAXEVENT	//!< Max number of EVENT can be created
	#define MAX_QUEUE			11 			//!< Max number of QUEUE can be created (3 for tasks queue + 8 for events)
	#define MAX_QUEUE_ITEM		48			//!< Max number of QUEUE_ITEM can be created (3 queues with up to 8 items + 8 queues with up to 3 items)

	//#define KERNEL_DEBUG		1			//!< Enable Kernel Debug
	//#define TIMER_DEBUG 		1			//!< Enable Timer Debug
	//#define MALLOC_ANALYSIS	1			//!< Enable MALLOC Anaylsis

	#ifdef DEBUG
		#define F_CPU 4000000UL  	// 4 MHz
		#define PROCESSOR_SPEED		4
		#define MAX_RR_TICKS		20
		#define TIMER_FACTOR		20
		#define DISABLE_DELAY 1
	#else
		#define F_CPU 		8000000UL
		#define PROCESSOR_SPEED		8 	//!< Processor Speed
		#define MAX_RR_TICKS		20	//!< Max ticks a RR task can execute
		#define TIMER_FACTOR		40	//!< How often the timer ISR will be called
		//#define DISABLE_DELAY 1		//!< Disable Delays
	#endif

#endif /* _RTOS_CONFIG_H_ */
